﻿using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Layans.Data
{
    public class UsersPost
    {

        public int Id { get; set; }

        public ExternalLoginConfirmationViewModel UserName { get; set; }

        public Avatar avatar { get; set; }

        public DateTime DateTime { get; set; }

        [StringLength(5000, MinimumLength = 2, ErrorMessage = "полето трябва е минимум 2 и максимум 5000 символа")]
        public string Posts { get; set; }

        public IEnumerable<UsersPostComment> PostComment { get; set; }

        public UserPostVote PostVote { get; set; }

        public string avatars { get; set; }

        public string UserNames { get; set; }

        public ExternalLoginConfirmationViewModel UserNamees { get; set; }

        public ExternalLoginConfirmationViewModel UserNamew { get; set; }
    }
}
